package ooday02;

public class Dog extends Animal{
    Dog(String name,int age,String color){
        super(name,age,color);
    }

    void lookDoor(){
        System.out.println("叫"+name+"的"+color+"色的狗在看门");
    }

    void eat(){
        System.out.println("叫"+name+"的狗在吃饭...");
    }

}
